﻿<table cellpadding="0" cellspacing="1" border="0" width="100%" class="formtable">
    <tr>
        <th style="width:80px;">绑定字段:</th>
        <td><select class="myselect2" id="bindfiled" style="width:290px"></select></td>
    </tr>
    <tr>
        <th>默认值：</th>
        <td>
            <div style="margin-bottom: 6px;"><select class="myselect" id="defaultvalueselect" onchange="parent.insertElementText(document.getElementById('defaultvalue'), this.value);" style="width:290px"></select></div>
            <div><textarea class="mytextarea" id="defaultvalue" style="width:98%; height:80px; margin-right:6px;"></textarea></div>
        </td>
    </tr>
    <tr>
        <th>最大字符数:</th>
        <td><input type="text" id="maxlength" class="mytext" style="width:150px" /></td>
    </tr>
    <tr>
        <th>宽度:</th>
        <td><input type="text" id="width" class="mytext" style="width:150px" /></td>
    </tr>
    <tr>
        <th>高度:</th>
        <td><input type="text" id="height" class="mytext" style="width:150px" /> </td>
    </tr>
    <tr>
        <th>背景文字:</th>
        <td><input type="text" id="placeholdertext" class="mytext" style="width:98%" /> </td>
    </tr>
    <tr>
        <th>值类型:</th>
        <td><select class="myselect" id="valuetype"></select></td>
    </tr>
</table>
<script type="text/javascript">
    $(function () {

    });
    function initSelect2() {
        new RoadUI.Select().init2($("#bindfiled"));
    }
</script>